<?php 
$sampleContent = array();
$sampleContent['identifier'] = "id";
$sampleContent['label'] = "name";
$sampleContent['items'] = array();
$item = array();
$item['id'] = 123;
$item['name'] = "Sample document.doc";
$item['size'] = "2.4 MB";
$item['date'] = "23 Jul 2010";
$sampleContent['items'][] = $item;
$item2 = array();
$item['id'] = 121;
$item['name'] = "Another thing.xls";
$item['size'] = "0.1 MB";
$item['date'] = "2 Aug 2010";
$sampleContent['items'][] = $item;
echo json_encode($sampleContent);
?>